import 'package:flutter_benchu/utils/commonPkg.dart';

final String userServerUrl = 'https://blog.csdn.net';

class UserApi {

  //获取用户数据
  Future<Map> getUserData({Map params}) async {
    return agent.request(
      url: '/phoenix/web/v1/comment/template/List',
      params: params,
      method: Methods.GET,
      baseUrl: userServerUrl,
    );
  }

}

final UserApi userApi = UserApi();
